#ifndef __COMMANDLINETEST_H__
#define __COMMANDLINETEST_H__

#include "../commandlineoptions.h"

#include <cppunit/TestFixture.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestResult.h>
#include <cppunit/TestSuite.h>
#include <cppunit/extensions/HelperMacros.h>

class CommandlineTest : public CppUnit::TestFixture {
	CPPUNIT_TEST_SUITE( CommandlineTest );
	CPPUNIT_TEST( testDefaultValues );
	CPPUNIT_TEST( testHelp );
	CPPUNIT_TEST( testOutputName );
	CPPUNIT_TEST( testOutputFormat );
	CPPUNIT_TEST( testOutputRenderer );
	CPPUNIT_TEST( testDirectory );
	CPPUNIT_TEST( testImageSize );
	CPPUNIT_TEST( testEnblendOptions );
	CPPUNIT_TEST( testDeepZoomConverterJar );
	CPPUNIT_TEST( testDeepZoomConverterOptions );
	CPPUNIT_TEST( testJavaOptions );
	CPPUNIT_TEST( testThumbnailSuffix );
	CPPUNIT_TEST( testThumbnailSize );
	CPPUNIT_TEST_SUITE_END();

	private:
		int argc;
		char** argv;

	public:
		void setUp();
		void tearDown();
		void testDefaultValues();
		void testHelp();
		void testOutputName();
		void testOutputFormat();
		void testOutputRenderer();
		void testDirectory();
		void testEnblendOptions();
		void testDeepZoomConverterJar();
		void testDeepZoomConverterOptions();
		void testJavaOptions();
		void testThumbnailSuffix();
		void testThumbnailSize();
		void testImageSize();

};

#endif
